package com.naiterui.ehp.bs.cms.modules.agent.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;
import com.naiterui.ehp.bs.cms.common.entity.BaseEntity;
import com.naiterui.ehp.bs.cms.common.json.Dict;
import com.naiterui.ehp.bs.cms.modules.agent.entity.AgAgent;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 *
 * @author yiren
 * @since 2022/2/10
 */
@Data
@Builder
public class AgentPageItemVO implements java.io.Serializable {
    @ApiModelProperty(value = "经纪人ID")
    private Long id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @ApiModelProperty(value = "用户状态，描述请取statusDescribe的值")
    @Dict(type="agent_status")
    private Integer status;

    @ApiModelProperty(value = "工作状态（未加入,已加入,已离职）")
    private String jobStatus;

    @ApiModelProperty(value = "职称类型，描述请取titleTypeDescribe的值")
    @Dict(type="agent_title_type")
    private Integer titleType;

    @ApiModelProperty(value = "上级领导")
    private String leaderName;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "加入时间")
    private Date entryTime;

    @ApiModelProperty(value = "总订单金额")
    @Fen2Yuan
    private Integer totalOrderAmount;

}
